package com.yunhai.recipe.service;

import com.yunhai.common.dto.PaginationVo;
import com.yunhai.model.entity.fms.FmsMaterialCategoryEntity;
import com.yunhai.model.vo.fms.FmsMaterialCategoryQuery;
import com.yunhai.model.vo.fms.FmsMaterialCategoryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;
import java.util.Set;


public interface FmsMaterialCategoryService {

    /**
     * 获取 FmsMaterialCategory 分页列表
     */
    public IPage getFmsMaterialCategoryPagination(PaginationVo paginationVo, FmsMaterialCategoryQuery fmsMaterialCategoryQuery ) throws Exception;


    /**
     * 获取 FmsMaterialCategory 所有数据
     *
    */
    public List<FmsMaterialCategoryEntity> getFmsMaterialCategoryAllList(FmsMaterialCategoryQuery fmsMaterialCategoryQuery ) throws Exception;


    /**
     * 获取 FmsMaterialCategory 详情
    */
    public FmsMaterialCategoryEntity getFmsMaterialCategoryDetail( Long id) throws Exception;


    /**
     * 新增 FmsMaterialCategory
     * */
    public void addFmsMaterialCategory(FmsMaterialCategoryVo fmsMaterialCategoryVo) throws Exception;


    /**
     * 更新 FmsMaterialCategory
     * */
    public void updateFmsMaterialCategory( FmsMaterialCategoryVo fmsMaterialCategoryVo) throws Exception;

    /**
     * 删除 FmsMaterialCategory
     * */
    public void batchRemoveFmsMaterialCategory( List<Long> ids ) throws Exception;

    List<FmsMaterialCategoryEntity> getMaterialCategoryListByIds(Set<Long> materialTypeIds)  throws Exception;
}

      